Ext.define('PhotoList.view.PhotoListCarousel', {
    extend: 'Ext.carousel.Carousel',
    alias: 'widget.photo_carousel',
    requires: ['PhotoList.view.PhotoList', 'PhotoList.view.PhotoListSettingForm'],
    config: {
        layout: 'card',
		indicator: false,
		items: [{
			xtype: 'photo_list',
			enableDebug: true,
			photoWidth: Ext.Viewport.getWindowWidth()/4-8,
			photoHeight: Ext.Viewport.getWindowWidth()/4-8,
			showTitle: true,
			showBorderRadius: true,
			showShadow: true,
			showTestingBar: true
		},{
			xtype: 'photolist_setting_form'
		}]
    }
 
});